#include "BaseClass.h"

BaseClass::BaseClass()
{

}

BaseClass::BaseClass(const BaseClass &b)
{

}

BaseClass &BaseClass::operator =(const BaseClass &b)
{
    return*this; //赋值构造函数，这句话必须要有的~
}

void BaseClass::func()
{
    std::cout << "initialization finished." << std::endl; //父类的func是最后才考虑被调用的！
}

BaseClass::~BaseClass()
{
    std::cout << "Base class destructor called(delete base)" << std::endl;

}
